<?php

namespace Biz\service\wiki;

use Biz\module\Classes\WikiClean\Run as mRun;
use Biz\module\Classes\wiki\Wiki as clsWiki;

class WikiClean
{
    /**
     * 执行清洗
     */
    public static function clean($sign, $params)
    {
        $data = [];
        $data = mRun::run($params);
        //print_r($data);die();

        //调用亿万接口，抛出数据，如果有多个接口，可针对接口依次抛出
        if (!empty($data)) {
            clsWiki::afterCleaningData($sign, $data);
        }
    }

}
